package OOPAndMultiThreadArchiveManager.Client.Models;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class ApiResponse {
    public ApiCode apiCode;
    public Object data;

    @JsonIgnore
    public ApiResponse(ApiCode apiCode, Object data) {
        this.apiCode = apiCode;
        this.data = data;
    }

    public ApiResponse() {
    }
    public enum ApiCode {
        Success,
        Failed,
        Unauthorized
    }
}
